package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.sc.nft.enums.MallMemberEquityTypeEnum;
import com.sc.nft.enums.MemberEquityTemplateeceiveCycleEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城会员权益模版
 * </p>
 *
 * @author author
 * @since 2024-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sc_mall_member_equity_template")
@ApiModel(value="ScMallMemberEquityTemplate对象", description="商城会员权益模版")
public class MallMemberEquityTemplate extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "会员权益类型")
    private MallMemberEquityTypeEnum type;

    @ApiModelProperty(value = "权益名称")
    private String equityName;

    @ApiModelProperty(value = "领取限制周期[FULL-整个周期, PRE_DAY-每天,PRE_WEEk-每周,PRE_MONTH-每月,PRE_YEAR-每年]")
    private MemberEquityTemplateeceiveCycleEnum receiveCycle;

    @ApiModelProperty(value = "用户限领数量")
    private Integer limitCountPerUser;

    @ApiModelProperty(value = "是否有领取周期限制  0:没有 1:有")
    private Boolean receiveTimeRule;

    @ApiModelProperty(value = "优先抢提前时间 单位：分钟")
    private Integer prioritizeTheLeadTime;

    @ApiModelProperty(value = "权益是否叠加  0:否 1:是")
    private Boolean superpositionInterests;

    @ApiModelProperty(value = "权益图标")
    private String equityIcon;

    @ApiModelProperty(value = "权益详情")
    private String equityDetails;

    @ApiModelProperty(value = "开启状态")
    private Boolean status;
}
